/**
 * Created by lins on 2018-7-12.
 */
(function (angular) {
    function InformationService($resource, $q, $http, UrlConfigService) {
        var _schema = [
            {label: '企业编号', name: "no", sortable: false},
            {label: '企业名称', name: "name", sortable: false},
            {label: '行政区划', name: "area", sortable: false},
            {label: '污染源地址', name: "address", sortable: false},
            {label: '负责人', name: "person", sortable: false},
            {label: '联系电话', name: "phone", sortable: false},
            {label: '操作', type: 'template', templateUrl: 'operation.html', width: '160px'}
        ];
        this._schema = _schema;
        this._sort = '';
        this._order = '';
        this._listUrl = UrlConfigService.urlConfig. decisionAnalysis.portray.information.list;
        this._url = UrlConfigService.urlConfig. decisionAnalysis.portray.information.url;

        BaseListService.call(this, this._listUrl, $resource, $q, $http, _schema, this._url);



    }

    InformationService.$inject = ['$resource', '$q', '$http', 'UrlConfigService'];
    angular.module('MetronicApp').service('InformationService', InformationService);
})(angular);